package com.crm.service.impl.report;

import com.crm.dao.mapper.report.ReportPerformanceTopMapper;
import com.crm.model.entity.report.ReportPerformanceTop;
import com.crm.service.report.ReportPerformanceTopDbservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportPerformanceTopDbServiceImpl implements ReportPerformanceTopDbservice {

    @Autowired
    private ReportPerformanceTopMapper reportPerformanceTopMapper;

    @Override
    public List<ReportPerformanceTop> getAll() {
        return reportPerformanceTopMapper.selectByExample(null);
    }
}
